<template>
  <div class="goods">
    <pageContent :ContentTableConfig="ContentTableConfig" pageName="goods">
      <template #image="{ row }">
        <el-image
          style="width: 50px; height: 60px"
          :src="row.imgUrl"
          :preview-src-list="[row.imgUrl]"
          :initial-index="1"
        >
        </el-image>
      </template>
      <template #newPrice="{ row }">
        {{ '$' + row.newPrice }}
      </template>
    </pageContent>
  </div>
</template>

<script lang="ts" setup>
import pageContent from '@/components/pageContent';
import { ContentTableConfig } from './config/content.config';
</script>

<style scoped></style>
